import store from '@/store'
export default {
    inserted(el, binding) {
        const points = store.getters.points
        if (!points.includes(binding.value)) {
            el.parentNode.removeChild(el)
        }
    }
}